package com.tucy.logistics.modules.system.role.service;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.tucy.logistics.common.dto.system.QueryRoleDto;
import com.tucy.logistics.common.entity.user.SystemRole;

import java.util.List;

/**
* @author tucy123
* @description 针对表【system_role(角色表)】的数据库操作Service
* @createDate 2023-09-14 15:31:23
*/
public interface SystemRoleService extends IService<SystemRole> {

    /**
     * 查询角色
     * @param role
     * @return
     */
    Page<SystemRole> queryRole(QueryRoleDto role);

    /**
     * 增改角色
     * @param role
     * @return
     */
    Boolean saveUpdateRole(SystemRole role);

    /**
     * 删除角色
     * @param ids
     * @return
     */
    Boolean deleteRole(List<Long> ids);
}
